﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.Office.Interop.Excel;
using myWord = Microsoft.Office.Interop.Word;

namespace Tec2.Interface {
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    [Guid("AE12AF0B-8884-492E-80E5-2592F91CE970")]
    public interface IExcelInterface {
        [DispId(1)]
        void ExcelCore(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber);

        [DispId(2)]
        bool fnExcelCoreBool(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber, bool cancel);
        
        [DispId(3)]
        void ExcelCore(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber, Range r1);

        [DispId(4)]
        bool fnExcelCoreTarget(Application exApp, Workbook wb, Worksheet sh, Range target, int CoreFunctionNumber, bool cancel);

        [DispId(5)]
        void WordWorker(myWord.Application appWord, myWord.Document mDoc, int CoreFunctionNumber);

        [DispId(6)]
        void AccessCore(string orgName, string suchbegriff, int accFunctionNumber, string wordVorlage);

    }

    
    
}
